package com.bwie.house.controller;

import com.bwie.house.service.UserSigService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author 张泽宇
 * @Date 2022/4/27 8:30
 * @ProjectName: [search_house]
 * @Package: [com.bwie.house.controller]
 * @ClassName: []
 */
@RestController
@RequestMapping("house/usersig")
public class UserSigController {


    @Resource
    private UserSigService userSigService;

    @GetMapping("/getUserSig")
    public String getUserSig(String userid){
        return userSigService.generateUserSig(userid);
    }
}
